<style>
.yuyue-duan {border: 1px solid #999;color:#666;border-radius: 4px;padding:0.2rem;height:auto;width:5rem;margin:8px;font-size:0.75rem;text-align:center}
.sysbgcolor {color:#fff;border: 1px solid {{main.syscolor||'#00c568'}};}
</style>
<div class='fui-page  fui-page-current'>
  <div class="fui-header">
		<div class="fui-header-left" ng-click="goback()">
            <a class="back"></a>
        </div>
		<div class="title">投诉建议</div>
		<div class="fui-header-right" style="margin-right:0.5rem" ng-click="gohome('jy_jifenyou/index/')"><i class="icon icon-shouye"></i></div>
 </div>
  <div class='fui-content' style="padding:0 0.5rem;margin-bottom:1rem">
		<div class="fui-cell-group" style="margin-top:0"> 
			<div class="fui-cell-title">投诉类型（必填，可多选）</div>	
			<div ng-repeat="(key,value) in pagedata.types" class="jy-3">
				<div ng-class="{'yuyue-duan':1,'sysbgcolor':pagedata.post.type.indexOf(';'+key+';')>=0}" ng-click="duoxuans(key,pagedata.post,'type')">
					<div>{{value}}</div>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<div class="fui-list-group fui-cell-group">
			<div class="fui-cell-title">问题描述（必填）</div>	
			<div class="fui-cell">
				<div class="fui-cell-info">
					<textarea rows="5" placeholder="科学，理性，实事求是，准确的反馈问题，以便更好的得到处理！" ng-model="pagedata.post.msg"></textarea>
				</div>
			</div>
            <div class="fui-list">              
                <div class="fui-list-inner">
                    <div class="title">图片拍照</div>
                </div>
				<a class="fui-list-media" ng-if="pagedata.post.images">
					<img ng-repeat="img in pagedata.post.images" class="round" ng-src="{{tomedia(img) || '../core/resource/images/nopic.jpg'}}" />
				</a>
                <a class="fui-list-media weui_uploader_input_wrp">
					<span class="weui_uploader_input" ng-click="images(pagedata.post,'images')" accept="image/jpg,image/jpeg,image/png,image/gif" multiple=""></span>
				</a>
            </div>
        </div>
		<div class="fui-cell-group" style="margin-top:0"> 
			<div class="fui-cell must">
                <div class="fui-cell-label">联系电话</div>
                <div class="fui-cell-info"><input type="text" class="fui-input" placeholder="请留下您的手机号以便处理问题" ng-model="pagedata.post.mobile"/></div>
            </div>
			<div class="fui-cell ">
                <div class="fui-cell-label">订单编号</div>
                <div  class="fui-cell-info"><input type="text" class="fui-input" placeholder="可在我的订单查询复制订单编号,每个订单号以英文逗号隔开" ng-model="pagedata.post.ordersn"/></div>
            </div>
		</div>
	 <button class="weui_btn weui_btn_primary" style="margin: auto;margin-top:1rem;width:60%;" ng-click="post(pagedata.post,'submit','','message')">提交投诉</button>
  <div ng-include="sys_html('common/_copyright',true)"></div>
  </div>      
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>